<template>
  <div class="login_container">
    <div class="login_box">
        <div class="avatar_box">
            <img src="../assets/logo.jpg" alt="">
            <h1>海报设计系统</h1>
        </div>
    </div>
  </div>
</template>

<script>
export default {};
</script>

<style scoped>
.login_container {
  background-image: url("../assets/img.jpg");
  /* 设置图片大小 */
  background-size: 100% 100%;
  /* 设置div高度 */
  height: 100%;
}

.login_box{
    width: 450px;
    height: 400px;
    background-color: white;
    border-radius: 5px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
}

.avatar_box{
    height: 130px;
    width: 130px;
    border: 1px solid #eee;
    border-radius: 50%;
    padding: 10px;
    box-shadow: 0 0 10px #ddd;
    img{
        height: 100%;
        width: 100%;
        border-radius: 50%;
        background-color: #eee;
    }
}
</style>
